{% extends "base.html" %}

{% block title %}Update Animals{% endblock title %}
{% block scripts %}
	<link type="text/css" href="/mousedb-media/javascript/jquery-ui/css/custom-theme/jquery-ui-1.7.2.custom.css" rel="Stylesheet" />
	<script type="text/javascript" src="/mousedb-media/javascript/jquery-1.3.2.js"></script> 
	<script type="text/javascript" src="/mousedb-media/javascript/jquery-ui/js/jquery-ui-1.7.2.custom.min.js"></script> 
	<script type="text/javascript">
	 $(document).ready(function() {	
		$('#id_Born').datepicker({dateFormat: 'yy-mm-dd'});
		$('#id_Weaned').datepicker({dateFormat: 'yy-mm-dd'});
		$('#id_Death').datepicker({dateFormat: 'yy-mm-dd'});
	});
	</script>
{% endblock %}

{% block header %}Update:  Breeding Cage {{ breeding.Cage }}{% endblock header %}

{% block content %}
<p>Change fields as necessary.</p>
<form method="POST" action="/mousedb/breeding/{{ breeding.id }}/change/">
    {{ formset.management_form }}
    {% include "formsets_table.html" %}
<input type="submit" value="Submit" />
</form>

{% endblock content %}
